package com.itheima.pojo;


import java.util.List;

/**
 * 订单表
 * 
 */
public class Order {

    private Integer id;

    private String orderNumber;

    private List<Orderdetail> list;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public List<Orderdetail> getList() {
        return list;
    }

    public void setList(List<Orderdetail> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", orderNumber='" + orderNumber + '\'' +
                ", list=" + list +
                '}';
    }
}
